package com.wutuo.wtservice.api;

import com.wutuo.wtservice.api.request.ListWtTypeRequest;
import com.wutuo.wtservice.api.request.WtTypeRequest;
import com.wutuo.wtservice.api.response.WtTypeResponse;

import java.util.List;

/**
 * Created by Singer_YDW on 2016/11/9.
 */
public interface WtTypeAPIService {

    public void addorUpdate(WtTypeRequest record);

    public void del(Long id);

    public List<WtTypeResponse> lisForPage(ListWtTypeRequest request);

    public List<WtTypeResponse> list(WtTypeRequest request);

    /**
     * 翻译TAG
     *
     * @param model
     * @param tKey
     * @param skey
     * @return
     */
    public <T> List getWtTypeByIds(List<T> model, String tKey, String skey);

}
